{include file="public/header" /}
<div id="dcWrap">
    <div id="dcMain">
        <!-- 当前位置 -->
        <div id="urHere">管理中心<b>></b><strong>网站管理员</strong></div>
        <div id="manager" class="mainBox" style="height:auto!important;">
            
            <form>
                <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
                    <tr>
                        <td width="100" align="right">管理员名称</td>
                        <td>
                            <input type="text" name="username" value="{$data.username}" size="40" class="inpMain"/>
                        </td>
                    </tr>
                    {:token()}
                    <tr>
                        <td width="100" align="right">E-mail地址</td>
                        <td>
                            <input type="text" name="email" size="40" value="{$data.email}" class="inpMain"/>
                        </td>
                    </tr>
                    <!-- <tr>
                        <td align="right">原密码</td>
                        <td>
                            <input type="password" name="old_password" size="40" class="inpMain" />
                        </td>
                    </tr> -->
                    <tr>
                        <td align="right">新密码</td>
                        <td>
                            <input type="password" name="password" size="40" class="inpMain" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right">确认密码</td>
                        <td>
                            <input type="password" name="repassword" size="40" class="inpMain"/>
                        </td>
                    </tr>
                     <tr>
                        <td align="right">角色</td>
                        <td>
                            <select name="role_id">
                            <option value="">---- 请选择 ----</option>
                            {volist name="role" id="r"}
                            <option value="{$r.id}" {eq name="$r.id" value="$data.role_id" }selected{/eq}>{$r.name}</option>
                            {/volist}
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">是否锁定</td>
                        <td>
                            <label for="islock">
                                <input type="radio" name="islock" value="0" {if condition="$data['islock'] eq 0"} checked="true"{/if}>
                                否</label>
                            <label for="islock">
                                <input type="radio" name="islock"  value="1" {if condition="$data['islock'] eq 1"} checked="true"{/if}>
                                是</label>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <input type="hidden" name="id" value="{$data.id}"/>
                            <span class="btn">提 交</span>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
    <div class="clear"></div>
    {include file="public/footer" /}
    <div class="clear"></div>
</div>
<script type="text/javascript">
    var art_pro_url = "{:url('admin/edit')}";//form表单要提交的地址
</script>
</body>
</html>